<?php
if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
 * View file: crawler
 *
 * @author luubk
 * @since Jan 7, 2013 - 1:13:51 PM
 */
?>
<?php $id = md5($url) ?>
<tr id="<?php echo $id ?>" class="crawler" data="<?php echo $url ?>" >
    <td>                                            
        <img src="<?php echo $url ?>" style="max-height:128px" />
        <input type="hidden" class="crawler_file" value="<?php echo $url ?>" name="crawler[<?php echo $id ?>][photo_file]">
        <input type="hidden" class="crawler_file"
               id="photo_rank_<?php echo $id ?>"
               value="0" name="crawler[<?php echo $id ?>][photo_rank]" />
        <div class="crawler_result"></div>
    </td>                                        
    <td align="center">N/A</td>                                        
    <td>
        <textarea rows="5" style="width: 80%" class="crawler_desc"  name="crawler[<?php echo $id ?>][photo_desc]"></textarea>
    </td>                                        
    <td>
        <a onclick="$(this).parent().parent().remove(); return false;" href="#">xóa</a>
    </td>
    <td>
        <a href="#" title="lên trên" onclick="return photo_up($(this))">lên</a> 
        | <a href="#" title="xuống dưới"  onclick="return photo_down($(this))">xuống</a>
    </td>
    <td style="text-align: center">                                            
        <input type="radio" name="make_thumb" onclick="make_thumbnail($(this))"
               data="<?php echo $url ?>" value="<?php echo $id ?>" />
    </td>
</tr>